package com.crazy.jiakoulachang.mapper;

import com.crazy.jiakoulachang.pojo.Role;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author: lhy-卢辉宇
 * @date: 2023/6/24 20:52
 * @description:
 */
@Mapper
public interface RoleMapper {
    Role selectByAccountAndPassword(String userAccount, String encryptPassword);

    long selectByAccount(String userAccount);

    boolean save(Role role);

    Role selectById(long roleId);
}
